package com.buyingtickets.controller;

import com.buyingtickets.entity.Order;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

@Controller
@RequestMapping("userOrder")
public class UserOrderController {


    @RequestMapping("toUserOrder")
    public String toUserInfo(String siteId){

        return "trainOrderInfo";
    }
    @RequestMapping("payfor")
    public String payfor(){
        Order order=new Order();

        return "trainOrderInfo";
    }
}
